<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>



<table  id="" cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
<tr><td class="t_bar">${param.title }${param.unit }</td></tr>
</table>


	<table  id="tblMileStones4" cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
			<thead >
					<tr style="organization_finances/financeborder:1px solid #B7D1E6">
						<th class="TblHead" align="center"  style="width:5%">选择</th>
						<th class="TblHead" align="center"  style="width:5%">序号</th>
						<th class="TblHead" align="center"  style="width:15%">业务类别</th> 
						<th class="TblHead" align="center"  style="width:15%">项目名称<br/>（限300字）</th> 
						<th class="TblHead" align="center"  style="width:20%">起止年月</th>
						<th class="TblHead" align="center"  style="width:10%">本人在项目组中的排名</th>
						<th class="TblHead" align="center"  style="width:30%">完成情况</th>						
					</tr>
			</thead>
			<tbody id="tab">
					<tr style="display:none" align="center">
						<td align="center">
							<input type="radio" class="radiobutton" name="selMileStones4" >
						</td>
						<td align="center">
							<span name="milestones|milestone4[0]@seq_no" >[index]</span> 
						</td>
						<td align="center">
							<input name="milestones|milestone4[0]|content1" label="业务类别" value="" class=" input_text required"  maxlength="100" style="width:80%" />
						</td>
						<td align="center">
							<input name="milestones|milestone4[0]|content2" label="项目名称" value="" class=" input_text required"  maxlength="300" style="width:80%" />
						</td>
						<td align="center">
						<input  id="milestone4_start_date_[0]" name="milestones|milestone4[0]|start_date" label="起止年月-->开始日期"value="" class="input_text date  dateCompare:milestone4_end_date_[0]  required" style="width:70%"  />
						<br/>至<br/>
						<input  id="milestone4_end_date_[0]" name="milestones|milestone4[0]|end_date" label="起止年月-->结束日期" value="" class="input_text date  required" style="width:70%"  /> 
						</td>
						<td align="center">
							<input name="milestones|milestone4[0]|content3" label="本人在项目组中的排名" value="" class=" input_text required"  onfocus="InitInput.setNumber(this,7,0,0)" style="width:80%;text-align:right;" />
						</td>
						<td align="center">
							<input name="milestones|milestone4[0]|content4" label="完成情况"  value="" class="required input_text "  maxlength="100" style="width:80%" />
						</td>
						
						<%-- <td align="center">
							<cpt:select id="degree_${index}" key="degree"  name="degree" className="selectWidth2 required" label="学位" onChange="initControlValue(this.id)" value=""  style="width:85%"></cpt:select>
							<input type="hidden" name="milestones|milestone4[0]|degree_value" value=""/>
							<input type="hidden" name="milestones|milestone4[0]|degree_name" value=""/>
						</td>	 --%>
						
					</tr>
					
					
					<c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/milestones/milestone4" var="milestone4">
					
					<c:choose>
						<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
						<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
					</c:choose>
					<tr align="center">
						<td>
							<input type="radio" class="radiobutton" name="selMileStones4" >
						</td>
						<td align="center">
							<span   name="milestones/milestone4[${flag}${index}]@seq_no" ><x:out select="$milestone4/@seq_no"/></span> 
						</td>
						<td align="center">
							<input value="<x:out select="$milestone4/content1"/>" label="业务类别" name="milestones/milestone4[${flag}${index}]/content1" maxlength="100" class="required"  style="width:80%"  /> 
						</td>
						<td align="center">
							<input value="<x:out select="$milestone4/content2"/>" label="项目名称" name="milestones/milestone4[${flag}${index}]/content2" maxlength="300" class="required"  style="width:80%"  /> 
						</td>
						<td align="center">
							<c:set var="start_date" scope="page"><x:out select="$milestone4/start_date"/></c:set>
							<input  id="milestone4_start_date_[${flag}${index}]" value="${start_date}" label="起止年月-->开始日期" name="milestones/milestone4[${flag}${index}]/start_date" class="date input_text dateCompare:milestone4_end_date_[${flag}${index}]  required"  style="width:70%" /> 
						<br/>至<br/>
							<c:set var="end_date" scope="page"><x:out select="$milestone4/end_date"/></c:set>
							<input  id="milestone4_end_date_[${flag}${index}]" value="${end_date}" label="起止年月-->结束日期"  name="milestones/milestone4[${flag}${index}]/end_date"  class="date input_text  required" style="width:70%" /> 
						</td> 
						<td align="center">
							<input value="<x:out select="$milestone4/content3"/>" label="本人在项目组中的排名" name="milestones/milestone4[${flag}${index}]/content3"  onfocus="InitInput.setNumber(this,7,0,0)" class="required"  style="width:80%;text-align:right;"  /> 
						</td>
						<td align="center">
							<input value="<x:out select="$milestone4/content4"/>" label="完成情况" name="milestones/milestone4[${flag}${index}]/content4" maxlength="100" class="required"  style="width:80%"  /> 
						</td>
						<%-- <td align="center">
						<c:set var="degree_value"><x:out select="$milestone4/degree_value" /></c:set>
						<cpt:select id="degree_${index}" key="degree"  name="degree"  value="${degree_value }" className="selectWidth2 required" label="学位" style="width:85%"></cpt:select>
						<input type="hidden" name="milestones/milestone4[${flag}${index}]/degree_value" value="<x:out select="$milestone4/degree_value" />"/>
						<input type="hidden" name="milestones/milestone4[${flag}${index}]/degree_name" value="<x:out select="$milestone4/degree_name" />"/>
						</td> --%>
					</tr>
					
					
					
					
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
					<script type="text/javascript">
						showAllDateTag("tblMileStones4");
					</script>
				</tbody>
					</table>
					<br/>

					<table width="98%" align="center">
					<tr ><td>
					<input class="button" name="cmdAddbefore" type=button value="添加" onclick="if(checkTabLimit('tblMileStones4',99,'${param.title }最多只能填写99条')){addNewRow('tblMileStones4');showDateTag('tblMileStones4');}try{top.resizeFrame();}catch(e){};">
					<!--
					<input class="button" name="cmdAddbefore" type=button value="添加" onclick="if(checkTabLimit('tblMileStones',5,'项目进度信息最多只能填写5条')){addNewRow('tblMileStones');}showDateTag('tblMileStones');try{top.resizeFrame();}catch(e){};">
                    -->
					<input class="button" name="cmdMovePrev" type=button value="上移" onclick="movePrev('tblMileStones4','selMileStones4')">
					<input class="button" name="cmdMoveNext" type=button value="下移" onclick="moveNext('tblMileStones4','selMileStones4')">
					<input class="button" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('tblMileStones4','${param.title }')">
					</td></tr>
	</table>
	<br/>
<script type="text/javascript">
$(function() {
	$("#tblMileStones4 tr:even").addClass("li_1");
	$("#tblMileStones4 tr:odd").addClass("li_2");
});
</script>